<template>
  <div class="login">
    <h1 v-html="message"></h1>
    <router-link to="/user/register"><button>立即注册</button></router-link>
  </div>
</template>

<script>
export default {
  name: "login",
  data() {
    return {
      message: "This is Login.vue.",
      id: 1
    };
  },
  methods: {
    dosomething: function() {
      this.id += 1;
      console.log(this.id);
    }
  }
};
</script>
